﻿namespace WizardEngine.Core
{
    /// <summary>
    /// Delegate for passing pieces of code from host application, which indicate what needs to be updated on flow state. 
    /// </summary>
    /// <typeparam name="T">Specific custom flow state type. Must match with flow state instance type being loaded. </typeparam>
    /// <param name="state">Flow state to be updated. </param>
    public delegate void FlowStateUpdate<T>(T state) where T : FlowState, new();
}
